//-----------------------------------------------------------------------
// <copyright file="User.cs" company="Simnova LLC">
//     Copyright (c) Simnova LLC. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Simnova.Collaborate.ServiceContract.DataClasses
{
    using System;
    using System.Runtime.Serialization;

    [DataContract]
    public class User
    {
        [DataMember(Name = "UserId")]
        private int userId;
        private string emailAddress;
        private string password;
        private string passwordSalt;
        private string screenName;

        public int UserId
        {
            get { return this.userId; }
        }

        [DataMember]
        public string EmailAddress
        {
            get { return this.emailAddress; }
            set { this.emailAddress = value; }
        }

        [DataMember]
        public string Password
        {
            get { return this.password; }
            set { this.password = value; }
        }

        [DataMember]
        public string PasswordSalt
        {
            get { return this.passwordSalt; }
            set { this.passwordSalt = value; }
        }

        [DataMember]
        public string ScreenName
        {
            get { return this.screenName; }
            set { this.screenName = value; }
        }
    }
}
